package vn.com.pavibook.model.vo;

import org.hibernate.validator.constraints.NotEmpty;

public class BookTypeVO {
	private int id;
	
	@NotEmpty(message="Nhập thông tin")
    private String name;
    
    private boolean active;

	public BookTypeVO() {
		super();
	}
	
	public BookTypeVO(int id, String name, boolean active) {
		super();
		this.id = id;
		this.name = name;
		this.active = active;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}
}
